package org.spider.model.dto;

public enum CodeEnum {

    SUCCESS(1, "操作成功"),
    FAIELD(-1, "操作失败，请检查");
    private Integer code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    CodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
